package com.yyz.service;

import com.yyz.domain.AddressBook;

import java.util.List;

/**
 * @author yyz
 * @create 2023-07-25 13:51
 */
public interface AddressBookService {
    void insert(AddressBook addressBook);

    List<AddressBook> list();

    void setDefault(AddressBook addressBook);

    AddressBook selectById(Long id);

    void update(AddressBook addressBook);

    AddressBook getDefault();

}
